<?php
class listitem
{
    public $value;
    public $text;
    public $is_selected=false;
    
    public function __construct($text='',$value='',$selected=false)
    {
      $this->value=$value;
      $this->text=$text;
      $this->is_selected=$selected;  
    }
}
?>